package com.mmall.service;

import com.mmall.common.ServerResponse;
import com.mmall.pojo.Category;

import java.util.List;
import java.util.Set;

public  interface CategoryService {

    public ServerResponse addCategory(String categoryname, Integer parentId);

    public ServerResponse<List<Category>> getChildrenCategory(Integer parentId);

    public ServerResponse<List<Integer>> getChildrenAllCategory(Integer parentId);

    public ServerResponse updateCategoryname(Integer categoryId,String categoryName);
}
